import Vue from 'vue'
import App from './App'
//引入vuex
import store from './store'
import cuCustom from './colorui/components/cu-custom.vue'
import api from "./api/index.js"

Vue.component('cu-custom',cuCustom)
Vue.prototype.request = api

//把vuex定义成全局组件
Vue.prototype.$store = store
Vue.config.productionTip = false
App.mpType = 'app'

const app = new Vue({
    ...App,
	//挂载
	store
})
app.$mount()
